python refactoring

join shbcf.ru